package org.mcflier.appuntamento.io.driver.db.interfaces;

import java.util.List;

import org.mcflier.appuntamento.data.model.ImdbList;
import org.mcflier.appuntamento.io.exception.JDBCConnectionException;
import org.mcflier.appuntamento.io.exception.JDBCStatementException;

public interface IJDBCImdbListDriver {
	
	public boolean addList(ImdbList list) throws JDBCConnectionException, JDBCStatementException;
	
	public boolean existsList(String url) throws JDBCConnectionException, JDBCStatementException;
	
	public List<ImdbList> getLists() throws JDBCConnectionException, JDBCStatementException;
	
	public boolean removeList(String url) throws JDBCConnectionException, JDBCStatementException;
	
	public void removeLists() throws JDBCConnectionException, JDBCStatementException;
}
